(x_figure_window_size): Make the default frame coords (0,0).
authorRichard M. Stallman <rms@gnu.org>
Wed, 26 May 1993 03:16:57 +0000 (03:16 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 26 May 1993 03:16:57 +0000 (03:16 +0000)
src/xfns.c

index 93707bca6a91b5f1db6407ef38063c9774a04d61..1d08900079a4cb1b6e494c1adbd2c6d190064da9 100644 (file)
@@ -1357,8 +1357,10 @@ x_figure_window_size (f, parms)
      window manager prompting. */
   f->width = DEFAULT_COLS;
   f->height = DEFAULT_ROWS;
-  f->display.x->top_pos = 1;
-  f->display.x->left_pos = 1;
+  /* Window managers expect that if program-specified
+     positions are not (0,0), they're intentional, not defaults.  */
+  f->display.x->top_pos = 0;
+  f->display.x->left_pos = 0;
 
   tem0 = x_get_arg (parms, Qheight, 0, 0, number);
   tem1 = x_get_arg (parms, Qwidth, 0, 0, number);